
def get_even_odd_list(numbers):
   evens = [ x for x in numbers if x ** 2 % 2 == 0 ] 
   odds =  [ x for x in numbers if x ** 2 % 2 != 0 ] 
   return evens, odds

inputs = [-1, -2, -3, 0, 1, 2, 3]
es, os = get_even_odd_list(inputs)
print(f"even: {es}")
print(f"odd: {os}")
